package com.itheima.dao;

import com.itheima.domain.Student;

import java.util.List;

public interface Studentdao {
    //新增学生
    public int add(Student student);

    //修改学生
    public int update(Student student);

    //根据id删除学生
    public int deleteById(int id);

    //根据id查询学生
    public Student findById(int id);

    //查询所有学生
    public List<Student> findAll();

}